]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
fix workspaces padding a little. (it's still not quite right)
authorDan Winship <danw@src.gnome.org>
Wed, 21 Jan 2009 21:59:58 +0000 (21:59 +0000)
committerDan Winship <danw@src.gnome.org>
Wed, 21 Jan 2009 21:59:58 +0000 (21:59 +0000)
svn path=/trunk/; revision=160

js/ui/workspaces.js

index 975d30bb9280fea3cc38607062b97772d8d6fd15..99d393bfcac3780dbfe66e088a5b002a7e99597e 100644 (file)
@@ -524,7 +524,8 @@ Workspaces.prototype = {
         let screenWidth = global.screen_width;
         let screenHeight = global.screen_height;
 
-        this._width = screenWidth * Overlay.WORKSPACE_GRID_SCALE;
+        this._width = screenWidth * Overlay.WORKSPACE_GRID_SCALE -
+            2 * Overlay.WORKSPACE_GRID_PADDING;
         this._height = screenHeight * Overlay.WORKSPACE_GRID_SCALE;
         this._x = screenWidth - this._width - Overlay.WORKSPACE_GRID_PADDING;
         this._y = Panel.PANEL_HEIGHT + (screenHeight - this._height - Panel.PANEL_HEIGHT) / 2;